package cn.xhjava.crm.workbench.mapper;

import cn.xhjava.crm.workbench.domain.ClueActivityRelation;

import java.util.List;

public interface ClueActivityRelationMapper {
    int deleteByPrimaryKey(String id) throws Exception;

    int insert(ClueActivityRelation record) throws Exception;

    int insertSelective(ClueActivityRelation record) throws Exception;

    ClueActivityRelation selectByPrimaryKey(String id) throws Exception;

    int updateByPrimaryKeySelective(ClueActivityRelation record) throws Exception;

    int updateByPrimaryKey(ClueActivityRelation record) throws Exception;

    int insertClueActivityRelationByList(List<ClueActivityRelation> list) throws Exception;

    int deleteClueActivityRelationByClueIdActivityId(ClueActivityRelation relation) throws Exception;

    List<ClueActivityRelation> selectClueActivityRelationByClueId(String clueId) throws Exception;

    void deleteClueActivityRelationByClueId(String clueId) throws Exception;
}